<%@ page language="java" pageEncoding="UTF-8"%>
<font >
    当前页:第${pageView.currentpage}页 | 总记录数:${pageView.totalrecord}条 | 每页显示:${pageView.maxresult}条 | 总页数:${pageView.totalpage}页</font>　
<c:choose>
<c:when test="${pageView.currentpage==1}"><b><font color="#FFFFFF">第1页</font></c:when>
<c:otherwise><a href="javascript:topage('1')" >第1页</a></c:otherwise>
</c:choose>
<c:if test="${pageView.currentpage>2}"><a href="javascript:topage('${pageView.currentpage-1}')" >上一页</a></c:if>
<c:if test="${pageView.currentpage!=1&&pageView.currentpage!=pageView.totalpage}"><b><font color="#FFFFFF">第${pageView.currentpage}页</font></b></c:if>
<c:if test="${pageView.currentpage<pageView.totalpage}"><a href="javascript:topage('${pageView.currentpage+1}')" >下一页</a></c:if>
<c:choose>
<c:when test="${pageView.currentpage<pageView.totalpage}"><a href="javascript:topage('${pageView.totalpage}')" >末页</a></c:when>
<c:otherwise><b><font color="#FFFFFF">末页</font></c:otherwise>
</c:choose>

<!--<c:forEach begin="${pageView.pageindex.startindex+1}" end="${pageView.pageindex.endindex}" var="wp">
    <c:if test="${pageView.currentpage==wp&&pageView.currentpage!=pageView.totalpage}"><b><font color="#FFFFFF">第${wp}页</font></b></c:if>
</c:forEach>
-->
<!--    <c:if test="${pageView.currentpage==wp+1}"><a href="javascript:topage('${wp+1}')" >下一页</a></c:if>-->
<%--    <c:if test="${pageView.currentpage=wp+1}"><a href="javascript:topage('${wp}')" >末页</a></c:if>--%>
<%--<c:forEach begin="${pageView.pageindex.startindex}" end="${pageView.pageindex.endindex}" var="wp">
    <c:if test="${pageView.currentpage==wp}"><b><font color="#FFFFFF">第${wp}页</font></b></c:if>
    <c:if test="${pageView.currentpage!=wp}"><a href="javascript:topage('${wp}')" >第${wp}页</a></c:if>
</c:forEach>--%>